file(GLOB CURRENT_SOURCE_PATH ${CMAKE_CURRENT_LIST_DIR}/*.cc)
file(GLOB CURRENT_HEAD_PATH ${CMAKE_CURRENT_LIST_DIR}/*.h)

set(LIB_NAME mi_framework)
add_library(${LIB_NAME} OBJECT ${CURRENT_SOURCE_PATH})
target_include_directories(${LIB_NAME} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/)
list(APPEND MONOLITH_INFERENCE_OBJECTS $<TARGET_OBJECTS:${LIB_NAME}>)
list(APPEND MONOLITH_INFERENCE_TARGETS ${LIB_NAME})